<#macro footer>
    <div class="foot">
        <p>
            版权所有 © 2015 ${website_footer!} 备案号：${web_front_beian!}
            技术支持：<a href="mailto:">阳光博雅</a><span style="float:right;margin-top:5px;margin-right:20px;">${website_tj!}</span>
        </p>
    </div>
    <div style="display: none;z-index:1000;" id="goTopBtn">
    <img border="0" src="${front_template!}/s/images/top.png"></div>
    </div>
    <script type="text/javascript">
        function goTopEx() {
            var obj = document.getElementById("goTopBtn");
            function getScrollTop() {
                return document.documentElement.scrollTop + document.body.scrollTop;
            }
            function setScrollTop(value) {
                if (document.documentElement.scrollTop) {
                    document.documentElement.scrollTop = value;
                } else {
                    document.body.scrollTop = value;
                }
            }
            window.onscroll = function () {
                getScrollTop() > 0 ? obj.style.display = "" : obj.style.display = "none";
            }
            obj.onclick = function () {
                var goTop = setInterval(scrollMove, 10);
                function scrollMove() {
                    setScrollTop(getScrollTop() / 1.1);
                    if (getScrollTop() < 1) clearInterval(goTop);
                }
            }
        }
        goTopEx();
    </script>

</#macro>